package top.psjj.news.service;

import top.psjj.news.po.TLink;

import java.util.List;

/**
 * @Auther:小陈的Java
 */
public interface LinkService {
     List<TLink> queryAll() throws Exception;

    void add(TLink link)throws Exception;

    TLink queryLinkById(int id) throws Exception;

    void update(TLink link)throws Exception;

    void del(int id)throws Exception;
}
